from django.template import Library

register = Library()



# 第五章图片margin改变
@register.filter
def change_style(index):
    if index % 4 == 0:
        return True

